// #ifndef VUE3
import Vue from 'vue'
import App from './App'
import store from './store/index.js'
import '@/components/interceptor.js';//引入拦截
import 'utils/date-format.js'
Vue.config.productionTip = false

Vue.prototype.$redirectTo=function (url){
	uni.redirectTo({url:url})
}
App.mpType = 'app'




const app = new Vue({
	store,
	...App
})
app.$mount()
// #endif

// #ifdef VUE3
import {
	createSSRApp
} from 'vue'
import App from './App.vue'
// import store from './store/index.js'

export function createApp() {
	const app = createSSRApp(App)
	// app.use(store)
	
	return {
		app
	}
}
// #endif